package com.iplant.ams.service.po.dms.scada.status;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.utils.general.CalendarTool;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

public class DMSDeviceStatistics {
    /// <summary>
    /// 设备编码
    /// </summary>
    public String DeviceNo = "";

    public int DeviceID = 0;

    /// <summary>
    ///  设备名称
    /// </summary>
    public String DeviceName = "";

    /// <summary>
    /// 固定资产编码
    /// </summary>
    public String AssetNo = "";

    /// <summary>
    /// 设备型号ID
    /// </summary>
    public int ModelID = 0;
    /// <summary>
    /// 设备型号名称
    /// </summary>
    public String ModelName = "";
    /// <summary>
    /// 设备型号ID
    /// </summary>
    public String ModelNo = "";


    public String Remark = "";
    /// <summary>
    /// 开始时刻
    /// </summary>
    public Calendar StatStartDate = CalendarTool.getCalendar(2000, 0, 1);

    /// <summary>
    /// 结束时刻
    /// </summary>
    public Calendar StatEndDate = CalendarTool.getCalendar(2000, 0, 1);

    /// <summary>
    /// 统计类型
    /// </summary>
    public int StatType = 0;

    /// <summary>
    /// 统计信息
    /// </summary>
    public List<DMSDeviceStatisticsInfo> StatisticsInfoList = new ArrayList<DMSDeviceStatisticsInfo>();


    @JsonProperty("DeviceNo")
    public String getDeviceNo() {
        return DeviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        DeviceNo = deviceNo;
    }

    @JsonProperty("DeviceID")
    public int getDeviceID() {
        return DeviceID;
    }

    public void setDeviceID(int deviceID) {
        DeviceID = deviceID;
    }

    @JsonProperty("DeviceName")
    public String getDeviceName() {
        return DeviceName;
    }

    public void setDeviceName(String deviceName) {
        DeviceName = deviceName;
    }

    @JsonProperty("AssetNo")
    public String getAssetNo() {
        return AssetNo;
    }

    public void setAssetNo(String assetNo) {
        AssetNo = assetNo;
    }

    @JsonProperty("ModelID")
    public int getModelID() {
        return ModelID;
    }

    public void setModelID(int modelID) {
        ModelID = modelID;
    }

    @JsonProperty("ModelName")
    public String getModelName() {
        return ModelName;
    }

    public void setModelName(String modelName) {
        ModelName = modelName;
    }

    @JsonProperty("ModelNo")
    public String getModelNo() {
        return ModelNo;
    }

    public void setModelNo(String modelNo) {
        ModelNo = modelNo;
    }

    @JsonProperty("Remark")
    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    @JsonProperty("StatStartDate")
    public Calendar getStatStartDate() {
        return StatStartDate;
    }

    public void setStatStartDate(Calendar statStartDate) {
        StatStartDate = statStartDate;
    }

    @JsonProperty("StatEndDate")
    public Calendar getStatEndDate() {
        return StatEndDate;
    }

    public void setStatEndDate(Calendar statEndDate) {
        StatEndDate = statEndDate;
    }

    @JsonProperty("StatType")
    public int getStatType() {
        return StatType;
    }

    public void setStatType(int statType) {
        StatType = statType;
    }

    @JsonProperty("StatisticsInfoList")
    public List<DMSDeviceStatisticsInfo> getStatisticsInfoList() {
        return StatisticsInfoList;
    }

    public void setStatisticsInfoList(List<DMSDeviceStatisticsInfo> statisticsInfoList) {
        StatisticsInfoList = statisticsInfoList;
    }
}
